package com.lcp.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("health_records")
public class HealthRecord {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Long userId;
    
    private String recordType;
    
    private LocalDateTime recordTime;
    
    private BigDecimal height;
    
    private BigDecimal weight;
    
    private String bloodPressure;
    
    private BigDecimal bloodSugar;
    
    private Integer heartRate;
    
    private BigDecimal temperature;
    
    private String bodyType;
    
    private String medicalHistory;
    
    private String content;

    private String notes;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
} 